package com.example.movie.common.model

import java.io.Serializable

/**
 * @author zr
 * @date 2020/07/06
 * 服务器统一返回封装
 */
data class BaseResponse<T>(
    var message: String? = null,
    var code: Int = 0,
    var data: T? = null,
    var recordsTotal: Long? = null,
    var recordsFiltered: Long? = null,
    var token: String? = null,
    var success: Boolean = false
) : Serializable {


}